import {Injectable} from '@nestjs/common';
import {CreateCatsDto} from "./dto/create-cats.dto"

@Injectable()
export class CatsService {



    private cats: CreateCatsDto[] = [];

    create(createCatDto: CreateCatsDto): CreateCatsDto {
        this.cats.push(createCatDto);
        return createCatDto;
    }

    find(){
        return this.cats;
    }
}
